#! user/bin/python
# -*- coding: utf-8 -*-

"""
Created on 2021/8/27 15:34

@File: mailTool类.py
@Author: LT
@Description: 它是公用超类：用于开启/关闭追踪消息
"""


class MailTool:                                     # 所有邮件工具的超类
    def trace(self, message):                       # 重新定义它来禁用/开启文件输出日志
        print(message)


class SilentMailTool:
    def trace(self, message):
        pass
